package com.syj.jsxjj.ui.renzheng.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by xiejingwen on 2017/7/13 0013.
 */

public class PersonalBean implements Parcelable {
    private String name;
    private String id_card;
    private String work;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.name);
        dest.writeString(this.id_card);
        dest.writeString(this.work);
    }

    public PersonalBean() {
    }

    protected PersonalBean(Parcel in) {
        this.name = in.readString();
        this.id_card = in.readString();
        this.work = in.readString();
    }

    public static final Creator<PersonalBean> CREATOR = new Creator<PersonalBean>() {
        @Override
        public PersonalBean createFromParcel(Parcel source) {
            return new PersonalBean(source);
        }

        @Override
        public PersonalBean[] newArray(int size) {
            return new PersonalBean[size];
        }
    };
}
